<?php
/**
 * Created by PhpStorm.
 * User: tiany
 * Date: 2018/1/8
 * Time: 20:50
 */
namespace app\index\controller;
use think\Controller;
use think\Db;
class Remind extends Controller{
    public function index(){
        return $this->fetch('index');
    }

    /**
     * @Author lignyun
     * @Desc    计算距离
     */
    public function distance(){
        $receive_location ='山东省青岛市黄岛区峨眉山路光谷软件园';
        $store_id = 8;
        $result = countDeliveryFee($receive_location,$store_id);
        halt($result);
    }
}